package com.haonan.springboot_exercise.bean.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 存储在vue中的用户信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UserInfo {
    private List<String> roles;//角色
    private String introduction;
    private String avatar;//用户图片
    private String user_name;//账号名
    private boolean state_flag;//整个服务的状态
    private boolean smtp_flag;//smtp状态
    private boolean pop_flag;//pop状态
}
